package com.sc.study.sleeproom.service;

import java.util.List;
import com.sc.study.sleeproom.domain.ScSleepRoomPersonType;

/**
 * 寝室类型Service接口
 * 
 * @author sc
 * @date 2022-03-14
 */
public interface IScSleepRoomPersonTypeService 
{
    /**
     * 查询寝室类型
     * 
     * @param id 寝室类型主键
     * @return 寝室类型
     */
    public ScSleepRoomPersonType selectScSleepRoomPersonTypeById(Long id);

    /**
     * 查询寝室类型列表
     * 
     * @param scSleepRoomPersonType 寝室类型
     * @return 寝室类型集合
     */
    public List<ScSleepRoomPersonType> selectScSleepRoomPersonTypeList(ScSleepRoomPersonType scSleepRoomPersonType);

    /**
     * 新增寝室类型
     * 
     * @param scSleepRoomPersonType 寝室类型
     * @return 结果
     */
    public int insertScSleepRoomPersonType(ScSleepRoomPersonType scSleepRoomPersonType);

    /**
     * 修改寝室类型
     * 
     * @param scSleepRoomPersonType 寝室类型
     * @return 结果
     */
    public int updateScSleepRoomPersonType(ScSleepRoomPersonType scSleepRoomPersonType);

    /**
     * 批量删除寝室类型
     * 
     * @param ids 需要删除的寝室类型主键集合
     * @return 结果
     */
    public int deleteScSleepRoomPersonTypeByIds(Long[] ids);

    /**
     * 删除寝室类型信息
     * 
     * @param id 寝室类型主键
     * @return 结果
     */
    public int deleteScSleepRoomPersonTypeById(Long id);
}
